#include<stdio.h>

int main()
{
    char s[]="2025:4:24";
    int arr[3];
    char* bufffer[4];
    sscanf(s,"%d:%d:%d",arr,arr+1,arr+2);
    printf("%d\n%d\n%d\n",arr[0],arr[1],arr[2]);
    return 0;
}
